FROM openjdk:8u201-jre-alpine3.9

ADD target/jenkins-test-java-0.0.1-SNAPSHOT.jar jenkins-test-java-0.0.1-SNAPSHOT.jar

ENV TZ=Asia/Shanghai

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

EXPOSE 8080

ENTRYPOINT ["java","-jar","jenkins-test-java-0.0.1-SNAPSHOT.jar"]
